package cn.jcet.gumall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.jcet.common.utils.PageUtils;
import cn.jcet.gumall.product.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * spu属性值
 *
 * @author coder_yang
 * @email 1546656922@qq.com
 * @date 2020-06-28 19:46:48
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 批量保存商品基本数据
     * @param collect
     */
    void saveProductBatch(List<ProductAttrValueEntity> collect);

    List<ProductAttrValueEntity> baseAttrListforspu(Long spuId);

    void updateSpu(Long spuId, List<ProductAttrValueEntity> entities);
}

